Dgetcwd
Section: Dec. 1, 1992
(2)
Updated: MiNT Programmer's Manual
Index
Return to Main Contents
NAME
Dgetcwd - get current working directory for a process
SYNOPSIS
LONG Dgetcwd(char *path, WORD drv, WORD size);
DESCRIPTION
Dgetcwd
may be used to retrieve the current working directory on the
indicated drive for the current process. The directory is
copied into the buffer pointed to by
path,
which is at least
size
bytes long.
RETURNS
0 on success
ERANGE if the supplied buffer is not long enough to hold the path
EDRIVE if
drv
is not a valid GEMDOS drive.
SEE ALSO
Dgetpath(2)
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- RETURNS
-
- SEE ALSO
-
This document was created by
man2html,
using the manual pages.
Time: 11:14:00 GMT, June 22, 2025